package com.superboo.base.properties;


import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Main 全局配置文件
 *
 * @author peiran zhang
 * @date 2017/4/5
 */
@Component
@ConfigurationProperties(prefix = "main")
public class Main {

    private String name;
    private String size;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }
}
